<!DOCTYPE html>
<html>
<head>
    <title>提案</title>
    <#include "/header.html">
</head>
<style>
    .qiehuan {
        cursor: pointer;
        display: inline-block;
        font-size: 16px;
        text-align: center;
        background: none;
        width: 150px;
        height: 40px;
        border: none;

    }

    .activebut {
        border-bottom: 2px solid;
        color: #3c8dbc;
    }
</style>
</html>
<body>
<div id="rrapp" v-cloak>
    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading"></div>
        <form class="  form-horizontal" style="width: 100%;">
            <div class="form-group">

                <div class="col-sm-2 control-label">提案类型</div>
                <div class="col-sm-10">
                    <div class="layui-form-item ">
                        <p id="type1" class="qiehuan  activebut" value="1">个人</p>
                        <p id="type2" class="qiehuan" value="2">联名</p>
                        <p id="type3" class="qiehuan" value="3">代表组</p>
                    </div>
                </div>
            </div>

            <div id="fyr" class="form-group">
                <div class="col-sm-2 control-label">附议人</div>
                <div class="col-sm-10">
                    <div id="demo1"><span style="color: red;">*</span>如果有附议人则至少两名</div>
                </div>
            </div>
            <div id="lmr" class="form-group" hidden>
                <div class="col-sm-2 control-label"><span style="color: red;">*</span>联名人</div>
                <div class="col-sm-10">
                    <select id="lianming"  data-live-search="true" type="text" class="form-control selectpicker" title="请选择" v-model="tianan.lianming">
                        <option v-for="item in userlist" :value="item.userId">{{item.realname}}</option>
                    </select>
                </div>
            </div>
            <div id="bm" class="form-group" hidden>
                <div class="col-sm-2 control-label"><span style="color: red;">*</span><spen>选区</spen></div>
                <div class="col-sm-10" style="padding-top: 7px"><spen> {{user.xuanquName}}
                </spen>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label"><span style="color: red;">*</span>提案类别</div>
                <div class="col-sm-10 control-label">
                    <select id="types" type="text" class="form-control selectpicker" title="请选择" v-model="tianan.types"
                            placeholder="请选择">
                        <option v-for="item in dictlist" :value="item.id">{{item.value }}
                        </option>
                    </select>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label"><span style="color: red;">*</span>提案名称</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="tianan.title" placeholder="名称"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label"><span style="color: red;">*</span>案由分析</div>
                <div class="col-sm-10">
                    <div id="anyoufenxi"></div>

                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <div class="col-sm-10">
                    <div >仅支持文字，字数尽量控制在2000字以内。</div>

                </div>
            </div>

            <div class="form-group">
                <div class="col-sm-2 control-label"><span style="color: red;">*</span>措施建议</div>
                <div class="col-sm-10">
                    <div id="zhenggaicuoshi"></div>

                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary" id="btnSaveOrUpdate" data-loading-text="保存中..."
                       @click="saveOrUpdate" value="提交"/>
                &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div>
</div>
    <script src="${request.contextPath}/statics/js/modules/sys/tiananadd.js?_${.now?long}"></script>
    <script src="${request.contextPath}/statics/plugins/layui/xm-select.js?_${.now?long}"></script>


</body>
</html>